.class Lcom/instagram/android/fragment/gv;
.super Ljava/lang/Object;
.source "UserDetailFragment.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/fragment/gs;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/gs;)V
    .locals 0
    .parameter

    .prologue
    .line 276
    iput-object p1, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 6
    .parameter "dialog"
    .parameter "which"

    .prologue
    const/4 v3, 0x0

    .line 279
    iget-object v0, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/gs;->ap()[Ljava/lang/CharSequence;

    move-result-object v0

    .line 280
    aget-object v1, v0, p2

    iget-object v2, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    sget v4, Lcom/facebook/ba;->report_inappropriate:I

    invoke-virtual {v2, v4}, Lcom/instagram/android/fragment/gs;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 281
    iget-object v0, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/gs;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/gs;->am()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/util/ag;->a(Landroid/content/Context;Lcom/instagram/android/model/b/e;)V

    .line 295
    :cond_0
    :goto_0
    return-void

    .line 282
    :cond_1
    aget-object v1, v0, p2

    iget-object v2, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    sget v4, Lcom/facebook/ba;->directshare_receive_direct_posts:I

    invoke-virtual {v2, v4}, Lcom/instagram/android/fragment/gs;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 283
    new-instance v0, Lcom/instagram/android/directshare/b/a/c;

    iget-object v1, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/gs;->getContext()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v2}, Lcom/instagram/android/fragment/gs;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    new-instance v4, Lcom/instagram/android/fragment/gw;

    iget-object v5, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-direct {v4, v5, v3}, Lcom/instagram/android/fragment/gw;-><init>(Lcom/instagram/android/fragment/gs;Lcom/instagram/android/fragment/gt;)V

    iget-object v3, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    iget-object v3, v3, Lcom/instagram/android/fragment/gs;->ad:Lcom/instagram/android/model/b/e;

    invoke-virtual {v3}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v0, v1, v2, v4, v3}, Lcom/instagram/android/directshare/b/a/c;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/d/j/a;Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/instagram/android/directshare/b/a/c;->g()V

    goto :goto_0

    .line 289
    :cond_2
    aget-object v1, v0, p2

    iget-object v2, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v2}, Lcom/instagram/android/fragment/gs;->l()Landroid/content/res/Resources;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/instagram/android/feed/c/a;->a(Ljava/lang/CharSequence;Landroid/content/res/Resources;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 290
    iget-object v0, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-static {v0}, Lcom/instagram/android/fragment/gs;->f(Lcom/instagram/android/fragment/gs;)Lcom/instagram/android/feed/c/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/gs;->am()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/c/a;->a(Lcom/instagram/android/model/b/e;)V

    goto :goto_0

    .line 291
    :cond_3
    aget-object v0, v0, p2

    iget-object v1, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    sget v2, Lcom/facebook/ba;->suggest_user:I

    invoke-virtual {v1, v2}, Lcom/instagram/android/fragment/gs;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 292
    new-instance v0, Lcom/instagram/android/d/e/af;

    iget-object v1, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/gs;->getContext()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v2}, Lcom/instagram/android/fragment/gs;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    iget-object v4, p0, Lcom/instagram/android/fragment/gv;->a:Lcom/instagram/android/fragment/gs;

    invoke-virtual {v4}, Lcom/instagram/android/fragment/gs;->am()Lcom/instagram/android/model/b/e;

    move-result-object v4

    invoke-virtual {v4}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v4

    sget-object v5, Lcom/instagram/android/d/e/ag;->a:Lcom/instagram/android/d/e/ag;

    invoke-direct/range {v0 .. v5}, Lcom/instagram/android/d/e/af;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/d/j/a;Ljava/lang/String;Lcom/instagram/android/d/e/ag;)V

    invoke-virtual {v0}, Lcom/instagram/android/d/e/af;->g()V

    goto/16 :goto_0
.end method
